define(
	[
	appBasePath + '/scripts/module.js',
	// appBasePath + '/third/ace/js/ace.min.js',
	],
	function (substanceModule) {

    'use strict';

    substanceModule.controller('Demo.MainController', [
        '$scope',
        '$state',
        'gbits.websns.substance.config',        
        function($scope, $state, config) {
        	$scope.basePath = config.basePath;
        }
    ]);
});